<?php
/**
 * Created by PhpStorm.
 * User: huyang
 * Date: 16/10/29
 * Time: 下午8:01
 */

namespace App\Http\Repositories\Services;



use App\Http\Requests\Admin\ArticleInputDTO;

interface IArticle
{

    public function byId($id);

    public function store(ArticleInputDTO $inputDTO);

    public function update(ArticleInputDTO $inputDTO,$id);

    public function lists($search, $page = 0, $size = 10);

    public function state($id, $state);

    public function agreement($search);
}